package com.dbl.oms.common.exception;

import com.dbl.oms.common.kit.StrKit;

/**
 * 
 * @author Administrator
 *
 */
public class SystemException extends RuntimeException {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public SystemException(Throwable e) {
		super(e.getMessage(), e);
	}

	public SystemException(String message) {
		super(message);
	}

	public SystemException(String messageTemplate, Object... params) {
		super(StrKit.format(messageTemplate, params));
	}

	public SystemException(String message, Throwable throwable) {
		super(message, throwable);
	}

	public SystemException(Throwable throwable, String messageTemplate, Object... params) {
		super(StrKit.format(messageTemplate, params), throwable);
	}

}
